package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.ZtUserVip;
import org.dromara.system.domain.vo.ZtUserVipVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 用户VIPMapper接口
 *
 * @author Lion Li
 * @date 2024-06-26
 */
public interface ZtUserVipMapper extends BaseMapperPlus<ZtUserVip, ZtUserVipVo> {

    Page<ZtUserVipVo> queryPageList_join_user(@Param("page") Page<Object> build, @Param(Constants.WRAPPER) Wrapper<ZtUserVip> lqw);

    ZtUserVipVo queryVipUser(Long UserId);
}
